﻿using System;
using VIT.Library;
using VIT.DataHelper.DataAccess;

namespace VIT.Web.UI
{
    interface IWebUI
    {
        // URL
        string URLCurrentPath { get; set; }
        string URLCurrentPathAndQuery { get; set; }
        string URLRoot { get; set; }
        string URLBaseDir { get; set; }

        VITContext VITData { get; }

        string linkComponent(string ComponentName, string View, string Param);
        void TransferComponent(string ComponentName, string View, string Param);
        void RedirectComponent(string ComponentName, string View, string Param);
    }
}
